package com.yuxi.Dao.Impl;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.yuxi.Dao.InformationMapClassificationDao;
import com.yuxi.Entity.InformationMapClassification;

@Repository
public class InformationMapClassificationDaoImpl  extends BaseDaoImpl<Serializable, Serializable> implements InformationMapClassificationDao{
	private Logger logger=LoggerFactory.getLogger(InformationMapClassificationDaoImpl.class);
	public InformationMapClassificationDaoImpl(){
		super(InformationMapClassification.class);
	} 
	@Override
	public InformationMapClassification getClassificationByInfoId(Integer id) {
		// TODO Auto-generated method stub
		return (InformationMapClassification) super.get(id);
	}

	@Override
	public InformationMapClassification addClassification(InformationMapClassification c) {
		// TODO Auto-generated method stub
		return (InformationMapClassification) super.addAndReturn(c);
	}

	@Override
	public void modify(InformationMapClassification c) {
		// TODO Auto-generated method stub
		super.update(c);
	}

	@Override
	public void deleteClassification(InformationMapClassification c) {
		// TODO Auto-generated method stub
		super.delete(c);
	}

}
